#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main(void)
{
    int x = 1, y = 0, a = 0, b = 0;
    switch (x)
    {
    case 1:
        switch (y)
        {
        case 0:a++; break;
        case 1:b++; break;
        }
    case 2:a++; b++; break;
    }
    printf("a=%d,b=%d", a, b);
    return 0;
}